package com.fjsh.service;

import com.fjsh.config.FeignConfig;
import com.fjsh.consts.ServiceNameConstants;
import com.fjsh.fallback.ActivitiFallBackFactory;
import com.fjsh.vo.ActCustomVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import java.util.List;

@FeignClient(value = ServiceNameConstants.ACTIVITI_SERVICE, configuration = FeignConfig.class, fallbackFactory = ActivitiFallBackFactory.class)
public interface ActivitiRemoteService {
    @GetMapping("/activiti")
    List<ActCustomVO> getActCustomList();
}
